<?php
/**
 * 关于我们加入我们
 * User: xsh
 * Date: 2018/4/14  13:50
 */

namespace app\mobile\Controller;
use think\Controller;

class Set extends Base
{
    /*
    *	构造函数
    */
    function __construct(){
        parent::__construct();
    }

    //首页
    public function index(){

        return $this->fetch();
    }

    public function zabout()
    {
        $data = db('web_set')->value('about');
        $this->assign('about',$data);
        return $this->fetch();
    }


    public function join_us(){
        $data = db('web_set')->value('join');
        $this->assign('data',$data);
        return $this->fetch();
    }

    public function phone(){
        $phone = db('web_set')->value('telephone');
        $this->assign('phone',$phone);
    }
}